import random
import sys
sys.path.append('../')


# defined your arch

def main(index,lines):
    different_c = random.randrange(0, len(lines))

    while int(index) * 2 == different_c and int(index) * 2 + 1 == different_c:
        different_c = random.randrange(0, len(lines))

    print(int(index) * 2,"--",int(index) * 2 + 1," ? ",different_c)

if __name__ == '__main__':
    lines = [i for i in range(40)]
    for i in range(20):
        main(i,lines)